package com.lipeng.mapper;

import com.lipeng.bean.Tickets;

import java.util.List;

public interface TicketsMapper {
    int deleteByPrimaryKey(Integer tid);

    int insert(Tickets record);

    int insertSelective(Tickets record);

    Tickets selectByPrimaryKey(Integer tid);

    int updateByPrimaryKeySelective(Tickets record);

    int updateByPrimaryKey(Tickets record);

    int payTickets(Integer tid);

    List<Tickets> selectTicketsByUid(Integer uid);
}